<?php
	include("conn.php");
	
	$query = mysql_query("select count(1) from `ui_datagrid`");
	$rs = mysql_fetch_row($query);
	echo $rs[0];
?>